package com.tgy.myplus.service.impl;


import com.tgy.myplus.dao.UserDao;
import com.tgy.myplus.entity.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.Map;

@Service("userService")
public class UserServiceImpl {
    @Resource
    UserDao userDao;

    public String getPassword(String name){
        System.out.println(this.userDao.login(name));
        return this.userDao.login(name);
    }
}
